Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    f(X)  → cons(X,n__f(g(X)))
2:    g(0)  → s(0)
3:    g(s(X))  → s(s(g(X)))
4:    sel(0,cons(X,Y))  → X
5:    sel(s(X),cons(Y,Z))  → sel(X,activate(Z))
6:    f(X)  → n__f(X)
7:    activate(n__f(X))  → f(X)
8:    activate(X)  → X
There are 5 dependency pairs:
9:    F(X)  → G(X)
10:    G(s(X))  → G(X)
11:    SEL(s(X),cons(Y,Z))  → SEL(X,activate(Z))
12:    SEL(s(X),cons(Y,Z))  → ACTIVATE(Z)
13:    ACTIVATE(n__f(X))  → F(X)
The approximated dependency graph contains 2 SCCs: {10} and {11}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.09 seconds)   ---  May 3, 2006